package com.hqyj.finance.server.bill.financebill.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;
import java.io.Serializable;


@Entity
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("user_income")
@Table(name="user_income")

public class UserIncome  extends BaseEntity {

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @TableId(type = IdType.AUTO)
    private Integer incomeId;
    /**
    * 收入时间
    */
    private String incomeTime;
    /**
    * 收入金额
    */
    private String incomeNum;
    /**
    * 收入类型
    */
    private String incomeSort;
    /**
    * 收入备注
    */
    private String incomeRemark;
    /**
    * 收入者ID
    */
    private Integer incomeUserId;
    /**
    * 收入者名字
    */
    private String incomeUser;

    //借款凭证，图片地址。
    private String  voucherUrl;

    

}